package su.samcom.calc;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;

/**
 * Created with IntelliJ IDEA.
 * User: Владислав
 * Date: 30.11.13
 * Time: 14:30
 * To change this template use File | Settings | File Templates.
 */
public class Servlet extends HttpServlet {

    @Override
    public void init(ServletConfig config) throws ServletException {
        File file = (File) config.getServletContext().getAttribute("javax.servlet.context.tempdir");
    }
}
